home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / extras / programm / gemfsc20 / gemfsc20.lzh / GEMFBIND / VGCHAR.S < prev    next >
Text File  |  1993-03-16  |  983b  |  38 lines

  1. ;*========================================================================
  2. ;* VDIFAST Public Domain VDI bindings.
  3. ;*========================================================================
  4.  
  5.  
  6. ;*------------------------------------------------------------------------
  7. ;* v_gchar - Output a single character of graphics text using v_gtext.
  8. ;*------------------------------------------------------------------------
  9.  
  10.           globl     _v_gchar
  11. _v_gchar:
  12.  
  13. ;    .cargs    #8,handle.w,x.w,y.w,char.w
  14.  
  15. handle      =         8
  16. x          =         10
  17. y          =         12
  18. char      =         14
  19.  
  20.           link        a6,#0
  21.  
  22. ;          VContrl    #8,,#1,#1
  23.           move.w    handle(a6),-(sp)    ; contrl[6]
  24.           clr.l     -(sp)                ; contrl[5,4]
  25.           move.w    #1,-(sp)            ; contrl[3]
  26.           subq.l    #2,sp                ; contrl[2]
  27.           move.w    #1,-(sp)            ; contrl[1]
  28.           move.w    #8,-(sp)            ; contrl[0]
  29.  
  30.           subq.l    #8,sp                ;* -> ptsout, intout
  31.           pea        x(a6)                ;* -> ptsin
  32.           pea        char(a6)            ;* -> intin
  33.           pea        16(sp)                ;* -> contrl
  34.  
  35.           jmp        vdicall
  36.  
  37.           end
  38.